#include "Card.h"
#include <vector>
#include <iostream>
#include <ctime>
#include <cstdlib>

using namespace std;


Card::Card()
{ 
	this->Sign = ' ';
	this->Bside = true;
	this->Taken = false;
}

Card::Card(char Sign)
{
	this->Sign = Sign;
	this->Bside = true;
	this->Taken = false;
}

void Card::Paint_Card()
{
	if (Taken)
	{
		cout << " ";
	}

	else if (Bside)
	{
		cout << "X" ;
	
	}

	else
	{
		cout << Sign;
	}
}

void Card::Turn_Card()
{
	if (Bside == false)
	{
		Bside = true;
	}

	else if (Bside == true)
	{
		Bside = false;
	}
}

void Card::Set_Taken()
{
	if (Taken == false)
	{
		Taken = true;
	}
	else
	{
		Taken = false;
	}
}


Card::~Card()
{
}
